Skip to content

Conversation

rtc11
Copy link

@rtc11 rtc11 commented Aug 21, 2025

I got inspired by your nob.h and decided to make one for Kotlin.

It backups the last working version and restores it when necessary.
Im not packaging a jar or compiling a native executable, only compiling the class files, this makes the whole build time a lot faster.
In stead of using the compiler directly it starts a Kotlin daemon and uses its client and API to only compile changes in the bytecode. Having a live compiler environment makes subsequent builds way faster.
A simple "Hello world" now compiles in 70ms.

I got inspired by your nob.h and decided to make one for Kotlin. It backups the last working version and restores it when necessary. Im not packaging a jar or compiling a native executable, only compiling the class files, this makes the whole build time a lot faster. It also uses a Kotlin daemon for having a live compiler environment for faster subsequent builds.
A simple "Hello world" now compiles in 70ms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant